package com.ruoyi.hr.socialSecurity.domain;

import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 社保对象 hr_social_security
 *
 * @author xzshan
 * @date 2020-07-19
 */
public class HrSocialSecurity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 月份 */
    @Excel(name = "月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ym;

    /** 社保账号 */
    @Excel(name = "社保账号")
//    //@JSONField(name="ss_account")
    private String ssAccount;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 合计金额 */
    @Excel(name = "合计金额")
    private Double total;

    /** 单位交合计 */
    @Excel(name = "单位交合计")
    //@JSONField(name="com_total")
    private Double comTotal;

    /** 个人交合计 */
    @Excel(name = "个人交合计")
    //@JSONField(name="pe_total")
    private Double peTotal;

    /** 养老缴费基数 */
    @Excel(name = "养老缴费基数")
    //@JSONField(name="old_ins_pb")
    private Long oldInsPb;

    /** 养老单位交 */
    @Excel(name = "养老单位交")
    //@JSONField(name="old_ins_com_total")
    private Long oldInsComTotal;

    /** 养老个人交 */
    @Excel(name = "养老个人交")
    //@JSONField(name="old_ins_pe_total")
    private Long oldInsPeTotal;

    /** 医疗缴费基数 */
    @Excel(name = "医疗缴费基数")
    //@JSONField(name="med_ins_pb")
    private Long medInsPb;

    /** 医疗单位交 */
    @Excel(name = "医疗单位交")
    //@JSONField(name="med_ins_com_total")
    private Long medInsComTotal;

    /** 医疗个人交 */
    @Excel(name = "医疗个人交")
    //@JSONField(name="med_ins_pe_total")
    private Long medInsPeTotal;

    /** 工伤缴费基数 */
    @Excel(name = "工伤缴费基数")
    //@JSONField(name="wi_ins_pb")
    private Long wiInsPb;

    /** 工伤单位交 */
    @Excel(name = "工伤单位交")
    //@JSONField(name="wi_ins_com_total")
    private Long wiInsComTotal;

    /** 失业缴费基数 */
    @Excel(name = "失业缴费基数")
    //@JSONField(name="ue_ins_pb")
    private Long ueInsPb;

    /** 失业单位交 */
    @Excel(name = "失业单位交")
    //@JSONField(name="ue_ins_com_total")
    private Long ueInsComTotal;

    /** 失业个人交 */
    @Excel(name = "失业个人交")
    //@JSONField(name="ue_ins_pe_total")
    private Long ueInsPeTotal;

    /** 生育缴费基数 */
    @Excel(name = "生育缴费基数")
    //@JSONField(name="br_ins_pb")
    private Long brInsPb;

    /** 生育单位交 */
    @Excel(name = "生育单位交")
    //@JSONField(name="br_ins_com_total")
    private Long brInsComTotal;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setYm(Date ym)
    {
        this.ym = ym;
    }

    public Date getYm()
    {
        return ym;
    }
    public void setSsAccount(String ssAccount)
    {
        this.ssAccount = ssAccount;
    }

    public String getSsAccount()
    {
        return ssAccount;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTotal(Double total)
    {
        this.total = total;
    }

    public Double getTotal()
    {
        return total;
    }
    public void setComTotal(Double comTotal)
    {
        this.comTotal = comTotal;
    }

    public Double getComTotal()
    {
        return comTotal;
    }
    public void setPeTotal(Double peTotal)
    {
        this.peTotal = peTotal;
    }

    public Double getPeTotal()
    {
        return peTotal;
    }
    public void setOldInsPb(Long oldInsPb)
    {
        this.oldInsPb = oldInsPb;
    }

    public Long getOldInsPb()
    {
        return oldInsPb;
    }
    public void setOldInsComTotal(Long oldInsComTotal)
    {
        this.oldInsComTotal = oldInsComTotal;
    }

    public Long getOldInsComTotal()
    {
        return oldInsComTotal;
    }
    public void setOldInsPeTotal(Long oldInsPeTotal)
    {
        this.oldInsPeTotal = oldInsPeTotal;
    }

    public Long getOldInsPeTotal()
    {
        return oldInsPeTotal;
    }
    public void setMedInsPb(Long medInsPb)
    {
        this.medInsPb = medInsPb;
    }

    public Long getMedInsPb()
    {
        return medInsPb;
    }
    public void setMedInsComTotal(Long medInsComTotal)
    {
        this.medInsComTotal = medInsComTotal;
    }

    public Long getMedInsComTotal()
    {
        return medInsComTotal;
    }
    public void setMedInsPeTotal(Long medInsPeTotal)
    {
        this.medInsPeTotal = medInsPeTotal;
    }

    public Long getMedInsPeTotal()
    {
        return medInsPeTotal;
    }
    public void setWiInsPb(Long wiInsPb)
    {
        this.wiInsPb = wiInsPb;
    }

    public Long getWiInsPb()
    {
        return wiInsPb;
    }
    public void setWiInsComTotal(Long wiInsComTotal)
    {
        this.wiInsComTotal = wiInsComTotal;
    }

    public Long getWiInsComTotal()
    {
        return wiInsComTotal;
    }
    public void setUeInsPb(Long ueInsPb)
    {
        this.ueInsPb = ueInsPb;
    }

    public Long getUeInsPb()
    {
        return ueInsPb;
    }
    public void setUeInsComTotal(Long ueInsComTotal)
    {
        this.ueInsComTotal = ueInsComTotal;
    }

    public Long getUeInsComTotal()
    {
        return ueInsComTotal;
    }
    public void setUeInsPeTotal(Long ueInsPeTotal)
    {
        this.ueInsPeTotal = ueInsPeTotal;
    }

    public Long getUeInsPeTotal()
    {
        return ueInsPeTotal;
    }
    public void setBrInsPb(Long brInsPb)
    {
        this.brInsPb = brInsPb;
    }

    public Long getBrInsPb()
    {
        return brInsPb;
    }
    public void setBrInsComTotal(Long brInsComTotal)
    {
        this.brInsComTotal = brInsComTotal;
    }

    public Long getBrInsComTotal()
    {
        return brInsComTotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ym", getYm())
            .append("ssAccount", getSsAccount())
            .append("name", getName())
            .append("total", getTotal())
            .append("comTotal", getComTotal())
            .append("peTotal", getPeTotal())
            .append("oldInsPb", getOldInsPb())
            .append("oldInsComTotal", getOldInsComTotal())
            .append("oldInsPeTotal", getOldInsPeTotal())
            .append("medInsPb", getMedInsPb())
            .append("medInsComTotal", getMedInsComTotal())
            .append("medInsPeTotal", getMedInsPeTotal())
            .append("wiInsPb", getWiInsPb())
            .append("wiInsComTotal", getWiInsComTotal())
            .append("ueInsPb", getUeInsPb())
            .append("ueInsComTotal", getUeInsComTotal())
            .append("ueInsPeTotal", getUeInsPeTotal())
            .append("brInsPb", getBrInsPb())
            .append("brInsComTotal", getBrInsComTotal())
            .toString();
    }
}
